test and fix for post moderation logic