test case for [issue #139]