Fixed test case Defect_MAGN_3166 and Delete failure category

Test case Defect_MAGN_3166 was failing because the List.Join by default created with no port. I think it was given list_0 in previous version. That's why in xml file we got just 1 AddInPort command. I added 1 more. Now the test can pass.
@sharadkjaiswal  can you review it? Thanks