Improve test coverage, fix readUInt32. Refs #3