Added 2 test cases for Defect MAGN-2247 and 2311

Adding test cases for defect 
http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-2311
http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-2247