Updated TCP py test with removed methods