Added tests for LineAnalyzer