Fixed unit test that depended on default values in jdbcconfig.properties
Fixed double trimming of offset/limit in JDBCConfig.