heres the localstorage bit in api that test is meant to test