Testing the main program