Fix test helper

cec93c04 was broken. Sorry.