Design and testing of a Hardware-in-the-Loop system for a grid integrated Ocean Current Turbine