Add test case for events partly in scope