Fix SnippetCollectionTest