fix the test_srf_mnist_both test