refactoring retry tests to specific file