Unit test local storage stuff

In progress