refactor store function in test controller(catches error when required field is left blank), debug on creating question(catches error when required field is left blank), refactor Test model