Saves the passed entity and reloads it, enabling compatibility mode.
\Drupal\Core\Entity\EntityInterface $entity: The entity to be saved.
\Drupal\Core\Entity\EntityInterface The saved entity.
protected function saveEntity(EntityInterface $entity) {
$entity
->save();
$entity = entity_test_mul_load($entity
->id(), TRUE);
return $entity;
}