test for the state machine software