Fix timed job tests