Fixed test where a GET rather than a HEAD request was being passed to the method under test.