Support for generating test data.