Make sure Mime::Type is not altered after tests.

cc @senny