tests passing

edited the query couch test to update w/r/t lib no longer
directly writing to the output

added csv to the required libs

misc console log, hunting for csv().pipe bug (that wasn't)