add more tests, including example with pull-goodbye
use pull-goodbye in tests
provide onClose classback
duplex wrapper takes options
document opts