Add tests for and fix getValuesAlongRangeOp value extraction.