TEZ-850. Recovery unit tests. (Jeff Zhang via hitesh)