Add unit tests for saveDataCSV which should be ready for use now. Keyword args are now output in sorted order. Removed some unneeded functions.