compatibility tests to make sur C and Java implementations can read each other