test local storage.