Kernel base test for media view displays is failing with: LogicException: Missing bundle entity, entity type media_type, entity id image
I could solve this via:

$this->createMediaType('image');

Also I inherited from MediaKernelTestBase.