Test and training NN