Document bitstream API.
Make it happen.

When we run the console, for example, this case occurs.
Fix exit status of unit test suite.