Binding fix

Test int and long against int and long values not arbitrary byte arrays.