Add an test sql option to auto-confirm.