Fixed existing tests and added new tests for MergePresenter