Refactored PrettyPrinterTests due previous refactoring.