TST: fix tests on numpy 1.9.b2