xrange() is not recognized in Python 3.xx, so tests are not passed on Travis