added test for RecordToTSV