Fix test for changes to content_factory.