small refactor to questions controller and additional unit tests to question model