[#66999486] Wrote tests and got factories working