Fixed test to catch old numpy version.