Added test cases for "Analyzer.add" method.