add state-machine test
test homing-mode