Comparing models for the ground state energy of a trapped one-dimensional Fermi gas with a single impurity