clean up pvsystem. add tests