Testing the Twisted Module in Python