Refactor signal tests.
Merge pull request #2 from nullobject/refactor/signal

Refactor signal tests.