making beaglePWM.py testable again again