Test of a continuously polarized 3He neutron spin filter with NMR-based polarization inversion on a single-crystal diffractometer