Implemented testing in the neuron network