regenerate test