Added state machine tests to queen.