add test for issue #216

add test for issue #216