Tests for resource safety of pipe

See #72

Currently 3 tests fail:

- resource-safety.io.resource - two pipes
- resource-safety.io.resource - right side of tee then pipe
- resource-safety.onComplete with pipe

Only one test succeeds:

- resource-safety.io.resource - left side of tee then pipe