relates to #1073: test for range clause processing