Updates test scripts to use csv to format output