tests.test_least_squares module