Added a new test case to check for error when a message with invalid jobtype is pushed into the Q