added tests for the recovery functions