Fixed issues with the neural_network1 test.