add test of signal