Added unit test for clean up job