util/Signal: fixed `emit` impl. for reference arguments
tests/signal-test: added more extensive tests