Added test for endianness.