Add tests for head requests

Avoid regression, these are valid non-get requests.