Added generateTest class.