modified testNetCommNCAP