another test with main function