Added constraint that parent_id not nullable on CompanyGroups table. Added tests to support.