Add a test case for the bug fix.