Add tests for quoteforpo

The last test is the critical one.  When line length sits on 77 chars then
somehow linewrap drops the \n that we had in before.  Very strange corner case
this one.