add tests on run_analyzer method