Test storage API for creating collections with metadata