update test case for code coverage