NN unit test