Added test case for Issue #873

This is the test case for Issue #873.