tests for background jobs