An Efficient Minibatch Acceptance Test for Metropolis-Hastings