fix logs test