updated regressiontest to compile and execute in unix