Changed the test for local storage support.