wrote tests for the questions controller