Fixed bug #14079: Running the unit tests floods the deprecation log