Adding unit tests to verify retry strategies. Adding a RetryPolicy factory for our standard configuration.