Update StateMachine_test.cpp