Fixing logs tests