work on local storage, test fixing