Added test case for defect MAGN-2566