OC-10380: skip checksumming for no-content files
OC-10380: add polymorphism
spec tests for checksum

- plus stubbing of things that weren't stubed
- and changing stub! to stub