Added testcases for mime-type detection