add layer backpropagation test, small refactoring, test not passing
extract NeuralTest class, tests passing