[PDI-9956] Added reset for the batch counter and unit test. 

Teradata and Update Step throws "Unable to empty ps and commit connection" error when commit size is in incrememnts of 10,000/1,000/100/10

Also existing unit test class was reformatted.