Added a unit test, the counting of the number of spins should raise an error when no pipe exists.
Authored by: bugman 2007-11-24
Parent: [r3884]
Child: [r3886]