model spec with factories