Added tests for storage.js