linspace unit test