abb49d96b5
* improve test for stale states * update state manager return StateTransition * update scheduler to accept state transitions