Added unit test, testPrintCSV, and added ext-curl requirement to composer config