Add StaticFactoryMethod processor test