add test for Storage
typo
return null instead of undefined
using promises...