#344 Added HUP signal test

It would be better if we had this warning close to the actual code that generates it, so that it's clear what we're doing.