Added test and chained event handlers