Move CheckFailure to test utils, so that other tests may check for failure logging
Make job_failed and job_succeeded private, sinnce they are callbacks
Fix docstring and an accidental search and replace