tests/pwm: initialize period before duty cycle
tests/pwm: initialize period before duty cycle

this fixes running the test on a clean boot, where period and duty cycle
are both 0.

vsergeev/python-periphery