Heat-bath for the lattice Dirac propagator and a test of a Monte Carlo method for dynamical fermions