added endianness on a per-slave basis, and a test for this feature