add test for custom mimetypes