added test cases for StateMaster