A test of the interacting boson-fermion model in a single j-shell of neutrons and protons