fix the recoveryTest