Add tests for mime type