Added tests cases where metadata has been erased.