test: Make it work with the robot.
Add some robot-specific fixes.