add test case for DB-4220
add test case for DB-4741