Generate test data, prepare formatting