questions controller with tests