tests for new api
add deps
new api, that buffers opens until there is a connection