Some LargeLocalStorage tests and corresponding fixes