Lps 48632

Please add an unit test to ensure all transforming logic is correct.