Found a way to make sure that node.js' console.log identifies instances as errors so they're not rendered as "{}".

Added more tests.

Fixes: #1, #2
Release 0.4.0.