Add more test coverage, with the currently only uncovered code being the mocked Connection#post method