Use trampolines for getters/setters, fix bugs.
Update test case.
Merge pull request #152 from mbebenita/master

Bug fixes.