making beaglePWM.py testable again again again