Tweaked csv-tester for local refs