TST: Fix warnings in np 1.9

These break our tests