Tests for osdb.Hash