HttpMethodTest: add null check test

Any special reason why we should test this?