added a test for a simple getRequest
handling an Runtime Exception in StateMachine