Revert "Temp. silence deprecation warnings in test env"

This reverts commit d4444cfe5ed82dd921d134696703cf1ad633e43a.