add test case for #989
Merge pull request #990 from bronze1man/pr-test2

add test case for #989