refactor(FxRobot): Add regression tests and refactor KeyboardRobotImpl.

Related to: #80.