Testing for background jobs