Tests for boolean, byte, and octet. Bug fixes.