Added test case for #744