How Do I Test a Generator?