fix test failures for context factory support

this fixes the failure introduced in 609a270f, which was part of https://github.com/mozilla-services/cornice/pull/163