Update test script
Improve syntax tree functionality; add proper return handling
Make scopes be objects
Add signature lookups to objects and proper method calling