Test case for MAGN-3206

Adding testcase for
http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3206