convert to test unit format