We need more tests, e.g. test that the active domain can catch a thrown exception.