Generic test for event forwarding in contextes, and use of it in tests.