Update unit test. references #2826
Fix delete port. closes #2826