finish unit test for comments related APIs