Fix kml tests related to #295