fix up tests for mime