Make time-slice interrupts, er, interruptible, and add some basic tests.