Fixes service test issues on big-endian