failing test case for issue 1086

This commit adds failing test case for issue #1086.