Testing and characterization of photovoltaic modules