fixed bug in c binary test