add test from issue #7