Bug in test_helpers.py fixed