Added a test case that reproduces the crash which occurs when the history replay fails.
A link with the old directory name is provided.