fix pipe leftover data
Add test for issue #94
Changelog entries for issues #94 and #95