added comment approval functionality and tests