add a nc test script.