[PATCH 5/6] mmdevapi/tests: Use test contexts in capturing format tests.