As mentioned [up here](https://github.com/mozilla/openbadges/pull/532/files#r2985404), this code shouldn't actually be needed if the test environment actually works properly.