Test cohort selector in NewPostView

@jimabramson @andy-armstrong @cahrens @dan-f 
The flagged discussion item in the topic dropdown was removed when we added it to the filter menu. This test continued passing because the selector was failing to find anything to click but we didn't actually assert that the click resulted in something (hence the addition of `expect($.ajax).toHaveBeenCalled()` above).