fix the test with stream and not file name
Added the Logger