- Added unit tests
- Fixed bug wrt global "this" being null