get memory storage passing tests, fix byte ordering of hashes in esent uncovered as a result