Fix integration tests to work with the new superbuild
The integration tests don't work with the new superbuild if the standard file descriptors are closed. This can be fixed by closing them after initializing the logger.
The integration tests don't work with the new superbuild if the standard file descriptors are closed. This can be fixed by closing them after initializing the logger.