Added test and fix for infinite loop in PigLatinChanger.