Added tests to check that bad config will not cause error on insert for sql insert execute