Fix failing tests in AssignmentsControllerTest
Ensure that exception is thrown when given an invalid submission type