Generator class ready for tests