change test case logic