add test on job completion