testing both test1 and test2 in main