add test for issue89