Written Unit Test class for the Generator.