Fix logic for skipping private addressing testcase