Initialize context if nil is passed to TestWithRequest