Add tests for sql2csv