Test case to accurately determine the mime type of a file