Added tests for linspace