adding a unit test for comment creation