added pipe and unpipe shim tests

Added passing and failing tests respectively for `.pipe()` and `.unpipe()` in the current shim.