Yea, I was worried when she suddenly became more robotic after revealing she was an android because it didn't match her appearance from previous episodes but knowing she was teasing him makes perfect sense.
Plus this is starting to pave the way for a female Doctor which is excellent, I don't expect/want Capaldi to…