bump to v3.0.5, fix deprecations in tests