Removed localStorage polyfill, added new tests