mmdevapi: Add tests for checking events to capture.