Refactor response's hashes_match? method,d add tests for it and remove unnecessary parameter from find_digest_values