recovery: fixed warnings.
recover: fixed  and  recovery from dump. Added test case for recovering keys from dump.