Fixed several bugs for AbstractTestGenerator and ConcreteTestGenerator classes