* added test cases
* bugfix in checksum calculation