initial js/browser-based tests for localForage
rewriting browser-based tests to capser test