improve tests to catch missing dependency
Recently the dogfooding provider (faith) that provides leap.se mails was failing delivery because leap-mx failed to start (see #8668 (closed) "cannot import name raise_from").
It would be good if the CI pipeline for leap-mx would have caught this in the build before the code was merged.
Can this test be added to improve this?