added test case for Issue #7