Some helpers for generating test data.