Adding a more substantial test for stuff POSTed to pg-enabled server

plus some output cleanup (or mess-making, depending on taste).