LocalStorage can be instantiated w/o `new` keyword

I am not familiar with how the test framework works, so the test might need to be modified.