Fix events test to check for peer:connect instead