python script for testing integerity of various mimetypes