Adding test for RangeCriteria