fix test arrayFactoryMethods