A Hardware-in-the-Loop Testbed for Microgrid Protection Considering Non-standard Curve