Add load legacy and reindexing tests to the HashDb unit / regression test.