Fix running unit tests on Twisted trunk.