wrote tests for the question model