test of xrange