add a test for issue #2