test byte array to int and reverse