Testing general relativity using binary extreme-mass-ratio inspirals