Rather than testing all of the helpers, it would be better to mock Mongo returning the appropriate documents and validating the calls to a mocked es_instance that result from calling index_course.