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
Please make sure that in ```FirstRun``` below we do have 2 input ports. This test failed because the assumption of ```List.Join``` having two input ports no longer holds. The next time we change the ```List.Join``` again the test will fail (since you are going to add the 2-port check), at that time we will revisit this test case.