40074b0 Fix test for logging change

Authored and Committed by Stanislav Ochotnicky 6 years ago
    Fix test for logging change
    
    Change of configuration to enable logging by default caused the test to
    fail because mocked object had no id. This change fixes the test and
    sets up cleanup for logs