add test case for SQL parser/validator