Defining unit tests
Added unity tests for all functions in pwm.c and integrated them in code
base.