Make sql-codegen tests faster

Make sql-codegen tests faster