Main class test