Сorrected exist tests and added new tests for BranchPresenter