Fix endianness issue in test helper function
3 files changed