Update Twisted tests to know about TaskLevel.
pyflakes fixes.