Added tests for LibraryPopularityWorker to up code coverage