Adding perceptron test