test-driven development for wireless control of robot