New test files added. Some errors fixed.
Fixed errors in switching between 100% and PWM modes