wrap stdout of unitests