[tests] fix logger test