fix test for job publishing