fixing how we look in hash and making a test