Fixed mini-MNIST test.