fix bug in C adler32 + add a unit test
plug C implementation of adler32
add unit test