tests for events and IPC