Add missing includes to test_perpetual_generator.cpp