Add regrtest target and first test