Add a test case for bug #22215