finished code and tests form customFormTransform