Task 54279: Backport media-capture new-style tests

Checked out tests/ at 11ad97c (initial port) and backported to 3.6.1