Another jshint PR, this time in test/ and very tiny.

Fixes issues where global objects (`RemoteStorage`, `localStorage`) have been set in test implicitly rather than on `global`.