adding brake to motor test