PY3 Fix tests for Python 3 (xrange->range)