added test for invalid version in localStorage