add localStorage test for loader
add localStorage test for loader