Fix the test for local storage.