[tests] Fixed build of PWM tests

Due to adding double_pwm the tests were broken.
This is easily fixed by adding the shared_arch.