Created unit test for createQuestion method. Implemented hateos.