Add tests for signals.