Added test for HEAD requests