update test related to via points and #1034