retrying state Tests