Comparison between finite-size field theory and Monte Carlo simulations for the three-dimensional Ising model