This should be tested in it's own test file. If you do that you can remove a lot of the unit tests for workers/jobs/schedules and just have to verify that this is called.