Added disconnect tests and notification support.