More tests for localstorage and view events