unit testing for background application.js