Component event tests