[tests] Fixed build of PWM tests