Fixed SIGHUP test on node v0.8.

References #20.