Call main function from Test class.