improoved test case for issue. #2820