getGenerator method
package info midified, reset method added
reset method tests