TST: test non integer item does not return array

from gh-4223 in the 1.8 branch