Fix linear test
Fix NumPy API version