update local and session storage test.

IE8 was returning true on the localStorage test.