add test for event kernel