added negative test case