Fixed a test case for deep deletion of pipeline.