message transformation end to end test and fixes.