fixed undefined path bug for pwm
added test scripts for adc, pwm