added disconnect tests