Add tests for target on events.