add/remove signals code/tests.