Added testcase to test RangeVariableResolver HSQL fix