- Add a test case to confirm an endianness problem on little-endian machines.
- While here, add assertions, enhance slightly the code and decrease the number of loop turns.