Fix svg/midpoint tests

Proper solution waiting on 369