Update to use latest github.com/juju/testing

Sample pull request cherrypicked from lp:~gz/juju-core/logging_dep_fixes