add a test case for html local storage