storage: improve test coverage.