In the new runner (`runner_v2`) of the EF state tests try to make function `exception_matches_expected()` clearer.