hashable document; Fixing tests