fixed test runner in browser for localStorage