fix issue when request is post but there is no wresult, added integration tests