createRangeCollection Method test sample