more detailed tests for localstorage using json