pipe working
bugs fixed, everything working
redirect test cases