Refactored tests
Refactored checksum method