make test-storage.js more readable