TNL-301 Filter posts by group_id.

https://openedx.atlassian.net/browse/TNL-301

@gwprice @jimabramson Please review.
changed to `test_cohort_filtering`