harden and unit test phrase formattings.