Adding a StateMachineTest that needs to be fixed.