adding some more specs around to_hash