Issue #14700: merge tests from 3.3.