added tests for the mime-type to disallow title checks for anything but text and html