added Test for Main