Add tests for more MediaSource APIs.