Added test case for defect MAGN-3166