test script for bivariate regression