Fixing test case port bitmap