'Test the creation of a simple XlsxWriter file with image(s).'

def test_create_file(self):

    workbook = Workbook(self.got_filename)
    worksheet = workbook.add_worksheet()
    image_file = open((self.image_dir + 'red.jpg'), 'rb')
    image_data = BytesIO(image_file.read())
    image_file.close()
    worksheet.insert_image('E9', 'red.jpg', {'image_data': image_data})
    workbook.close()
    self.assertExcelEqual()
