Added tests for tee filter recursion.