Fix some small errors in the tests
Fix Oracle's default handling and schema-prepared-statement issue