Added tests for Signals.
More docs.