getLogger in tests fixed to the new implementation