add test for on event #10