Add tests for collection versioning