tests: do endianness conversion before size test.