fix test failures for context factory support

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