Remove unnecessary data transform function from test.