Merge and simplify the MediaError tests
Merge pull request #676 from foolip/media-error-code

Merge and simplify the MediaError tests