better testing of mime