Add StatementVisitor and related Test Case