Working SymbolTable for all scopes with some basic testing.