Test for local storage