Testing of voting machine