Add ResourceTypeHandlerFactoryTest.