Modified regression_test to pass.