test for HEAD requests