Add tests for interrupting & restarting kernel

These are in an existing test method, as starting and stopping kernels
for individual tests is expensive.