Modified random experiment program to test new motor driver