HttpMethodTest: add null check test