Fix DeprecationWarnings in tests (#313) `assertRegexpMatches` is deprecated in favor of `assertRegex` no-changelog