writing unit test for post activity and comment.