MGNL-8745 Media configs with mocked test cases
Also remove documents from the target index.
Merge