Test specifying checksum via constructor.

Closes #255.