Added tests for the virtuals plugin.
Updated tests
Fixed `toJSON` for virtuals with getter and setter
Added tests for the virtuals plugin
Merge pull request #167 from johanneslumpe/patch-6

Added tests for the virtuals plugin and some fixes