Add logger to the test so it could pass