update test-symtab-output
fix function declarators and add tests