Moved tests from JdbcScalarFunctionTest to RelationalScalarFunctionTest

Sure the indices are different, but doesn't it just work, because the take implementation would increment by one and the substring implementation in QueryInterpreter would decrement by one and the index would be correct again?