We performed a test experiment at the RI beam factory (RIBF). In the test experimnt, a 14N beam with an energy of 250 MeV/nucleon was used. We realized the dispersion matching between the beam transfer line and the BigRIPS spectrometer. The position resolution improved by a factor of two after the dispersion matching was applied. The resolving power of the BigRIPS was estimated to be 3860 (FWHM) from the obtained resolution which was 0.83 mm (FWHM). This resolving power corresponds to an experimental resolution of 190 keV (FWHM) for the emitted 3He at 365 MeV from the (d,3He) reaction in the deeply bound-pionic atom spectroscopy.