Simplified SignalInterface.

And added a test case,