testing automatic generation