Revert "Temp. silence deprecation warnings in test env"

This reverts commit d4444cfe5ed82dd921d134696703cf1ad633e43a.

Duplication warning says behavior change.
You should remove deprecation warnings at first.