testing service worker implementation