(test) Test range_query.