fixed parse_test_file to take CSV files