test case for #258
fixes #258
Merge branch 'fix-258'