changed the expected to string instead of hash