Fix
- Added regression testing for non-mime types
- Used safe navigation with Mime object