Integration tests for MediaAdapter