fix wrong test assumption about pre-existing /tmp
use domain to prevent unhandled events from unhelpful termination
improve readability of test results
LINT
fix synchronisation of stream closure
LINT
improve readability