Fixed sql(common, pg, mysql) and sophia tests
purpose: OOS-build tests fail
Merge branch 'fix-sql-test-stable' into stable