Update test_twisted.py

Switched to JR's most current version of test_twisted.py