Added creation and destroy tests for pipes