Added tests for QuickGlobalStateMachine