Reduce copy&paste by consistently generating test data.