Fix average precision score test on numpy 1.3