tests: add signal disconnection test