Update generator_test.go