tests: avoid spurious failure with older flex (2.5.4)