Test for mimetypes count after and before adding mimetypes