Adding another test to check that on disconnect messages are sent correctlyg