better way to test job completions