better setup tests
initialise as factory (will respons when open)
add close()-method
allow to close a closed/closing stream