ModelFactory correctly populates the root model