add proper teardown to local storage tests