rename test files
added failing test for calling end before the stream was replaced
cleanup
fix end test
use throughout instead of duplexer
0.2.2