This is just a small cleanup getting rid of the `async state update outside of act(...)` warnings.  The latest react update made it possible to wait for the async updates by using asynchronous `act`. In the case of this test the assertions assumed no async functions would be called, so the mocks had to be slightly adjusted.