API Test: Fix status code validation for Block HEAD

API Test: Fix status code validation for Block HEAD