Improve test coverage for messanger post method