Added resetting the generator state such that all files found are tagged
new.
Added check for generated ESD file in PulseheightFitTestCase.
Skips generation when the ESD file already exists, otherwise
every test in that test case generates the ESD over and over
again.