Hydrodynamics of self-propulsion near a boundary: predictions and accuracy of far-field approximations