Added unittesting for inverseTransform method