removed test for statemachine