fixed tests for pwa