used @BeforeClass, added invalidInput test case