refactored try recover test