modified add test case