tests connection assignment

Show that a connection assignment does not disconnect the
callback of the connection that is assigned to.