Add connect/disconnect/connect cycle test