Some tests for JobSubmitHandler.