Added test for linked events