Hardware-in-the-Loop Test Bed and Test Methodology for Microgrid Controller Evaluation