add unit test for SqlAnalyzer