FIX: expectation in log test