fix testing incompatibility with numpy 1.6