serviceWorkerLogdb supports unit test