test logs at WARN level