range Query for test