Add tests for killing a process

fixes #1264
Merge pull request #1355 from NServiceBus/processShutdown

Add tests for killing a process