Added a test suite for bug #7377.