Added test case for #763