Activated Events and made tests for connection