Make tests pass.

The hashes stuff should be moved into wald.rdf.*