Implement and test Neuron.train with delays