Hi,

this PR fixes some deprecations in tests.

Cheers, Christoph