TST: sparse: silence some deprecationwarnings

The code triggers these only on Numpy < 1.9