Add more unit tests for MainPresenter.