fix unit test for job alerts