fix TestRestore and TestReloadContainerLinks