test main  class