Add group factory functions for tests, add a groupSchema test
Summary
- Add a test for the groupSchema with a fixture.
- Add
jest/factory
module withbuildGroup
andbuildGroupRelationship
zod schemas will replace normalizers, but they handle parsing and validation at the same time. So instead of doing validation in reducers we have to use factory functions in tests that always pass validation.