Refactored prettyPrintConnections
Refactored tm_behavior_test.py into tm_test.py