Testing the neural network