tests: fix configuration of "custom helper function + cancel()" test