Test hash.