This test anticipates a future optimization, (already pushed upstream but not pulled yet), with a buggy implementation of replacing curve_to with line_to.