Some tests of exception behaviour in accept function internals.