test_helpers: py3 fix