fix failures in helpers test