Add test for localMedia + adapter file