Modify recover-metadata testcase