test factory numeric