Added all functions for manage comments and added tests for comments