it seems like some libraries print some mutable garbage to stdout on startup or shutdown which causes test failures.