adding test case for #2744