Added test case for bug#9989. This might start failing on some systems.