More tests of syscall interruption.

For #293 and #329.  I've been sitting on these in a hacky metafile for a while, so taking a detour to disgorge.  Several of these tests fail; fixes are forthcoming.