Test class main