Tiny fixes and more tests

Fixes:
- handle "void" declatrations correctly
- use the right names when resolving "this" and method-calls