Fix the wrong mimetypes
Generics
try finally in test