improve http method tests