added test for componets events