Test the printTextForm function.