localstorage tests added