Added test code, to confirm the transformation is correct.