add tests for AnalysisButtonPresenter