Add required development dependency.
Remove deprecations from tests.