removed compiler warning from generator_test.cpp