improve test case coverage