Vieira: Red card tested us but we recovered