Fix test hardcoded for little endian
Merge pull request #214 from manisandro/endian

Fix test hardcoded for little endian