perceptron test