Code for running NCS Tests