Test the new calculate_{size,checksum}() methods in common.models.