test local storage