Unit tests for getting and setting SourceBuffer#mode in Media Source Extensions

I added unit tests for getting and setting SouceBuffer#mode in Media Source Extensions.
Please review the codes.

Thanks,
    Hitoshi Uchida <uchida@w3.org>