Initial unit test for background jobs