added test case for issue #1348