Added minimal test case for issue 757