Adding test case for the defect MAGN847

Verifed MAGN847 and added automation for it