inserted logsin in XCTestCase