return promise for storage.set and test for it