storage: add tests for storage.