use difftest for easy debugging
when multiple coordinates are present, correctly format XML