Adding regression test for Bug#4069.