added better test case