Add basic asserts for hashing helper functions.