fixed command sequence
refactored and fixed failing tests for robot