Added TCP python wrapper test