test for query service, test for csv, csv converter

Rather than reusing my formatting library, found it easier
to redo it, copy and paste and tweak.

Sign that I need to refactor my formatting library, but...later

test passes. push to server