Adding range test for extractvalue.