add a test for ensuring retries work