Use the new localStorage test properly, doh.