Added test for endianness conversion functions