Completed controller and tests for question type configuration