add test for issue #25