Add test of gdb interrupting

Crappy test, but straightforward patch again, -> auto-merge.