To pass an event object to enzyme .simulate, we call simulate
with a 2nd argument.
For instance, we write
const mockedEvent = { target: {} };
checkbox.find("input").simulate("click", mockedEvent);
to call simulate
with the event object as the 2nd argument