Measurements of small ion currents in magnetic scanning type mass spectrometers