tests/test_decoding.py: check mime_type