localStorage exception test