Text this: Validation of controllers for photovoltaic inverters using automated tests and hardware-in-the-loop