Real Madrid had to suffer a little in order to beat the victory over Lenovo Tenerife, in a game decided in the last seconds.