[test] Added test for pwm_read_file()