Added test cases for binary ckecksum calculation