Moved to linear_generator to test/.