extract NeuralTest class, tests passing