Test: Changed xrange to range or Python3 fails