Braking and Testing of DC Machine