test to add symtab and scope check