fixed broken BlockGeneratorTest