test case for issue #25