Fit two lines to test data