Spec formatting refactor
Add #checksum method
Small refactor of checksum for clarity