Fixed test error due to logging changes.