Fix t_dependencies tests
Trying to port pipe logic to python 2.7