Update url patterns for future compat
Catch warnings in tests