Add tests for collection uniqueness