Hashes solutions + tests