Real-time Closed-Loop Test to Adaptive Protection in a Smart-Grid Context