Events tests.