add test case for #1008

add test case for #1008