test localstorage