Put `ui = new MockUI()` into beforeEach()