test transform method