Add some tests for the CollectionSnapshot