unit test for immediate disconnect after set(online)

Make sure we get both a client_online and a client_offline