Added test case for Issue 1214.