mock for numpy