add regress tests