Fix problem with BundleResourceFactoryTests.testNewResource() taking
too long.