Added test for Issue #4564.