added tests for question model