Add localstorage test