Add tests mixing range() and xrange()