tests fix for allowing re-run