Added test case for Defect MAGN-2479 and fixed few failing test cases.

- Added one test case for Defect MAGN-2479.
- Formatted few tests which was having too long line of code.
- Fixed few failing test cases by adding assert in GUID.
- Changed verification for Defect_MAGN_844, this was failing because of change in Local and Global variable.