Test with events