bytesToInt tests