fix #4132: backport GPX test fix