Added test framework.

`Buffer.toString()` encoding defaults to `'utf8'`.