Fixed TransformOp double transform bug and added test case
Addressed note
Merge pull request #321 from valeriebernard/transformOpFixMerge

Transform op fix merge