Reader returns an error if the first block is not streamID

Also fixed various fmt bugs in the tests.

Fixes #8.