Fix sloppy backport of test fix

What a commit message

See d734e2a77b1368a7ea01ef6fbe410362bca6ba6b