update state machine tests