Fix unit test to reflect on the recent mimetype changes