Added a testsuite for pipeline cleanup etc..

Original commit message from CVS:
Added a testsuite for pipeline cleanup etc..
6 files changed