test("builds the initial state if the given state is undefined", () => {
            const state = reducer(undefined, { type: "init" });
            expect(state).toEqual(testState);
        });