Modify the MNIST testing script