Implemented a more complicated backprop test