make defaults more explicit and remove some code duplication
added docblock to isValidMd5Hash
added docblock to unittest
add pr number to test group
Merge branch 'hotfix/#6983-digest-http-response-must-be-validated' into develop

Close #6983