Base classes and utilities for testing the collections API.