removed pseudo-hash and fixed tests