Fixing log tests