test showing bug related to via points. see #1034