Perceptron testing