Make the net test work for same-endian.