fixing logs tests