test case for issue #411