Add another test case for bug #999