test new minibatch sampling