add localstorage add method test