add test cases, using events
readme