Corrected ValueGeneratorTest