Add test for head requests

Avoid regression, these are valid non-get requests.